﻿using HlELock.Core;
using HlELock.Core.Events;
using HlELock.Modules.Hotel.Main.ViewModels;
using HlELock.Modules.Hotel.Main.Views;
using Prism.Ioc;
using Prism.Modularity;
using Prism.Regions;

namespace HlELock.Modules.Hotel.Main
{
    public class HotelMainModule : IModule
    {

        private readonly IRegionManager _regionManager;

        public HotelMainModule(IRegionManager regionManager)
        {
            _regionManager = regionManager;
        }

        public void OnInitialized(IContainerProvider containerProvider)
        {

        }

        public void RegisterTypes(IContainerRegistry containerRegistry)
        {
            containerRegistry.RegisterForNavigation<HotelMain>();
            containerRegistry.RegisterForNavigation<LockMenu, MenuViewModel>();
            containerRegistry.RegisterForNavigation<BatchNewRoomPage>();
            containerRegistry.RegisterForNavigation<RoomManagementMenu, RoomManagementMenuViewModel>();
            containerRegistry.RegisterForNavigation<UserManagementPage>();
            containerRegistry.RegisterForNavigation<RoomTypePage>();

            containerRegistry.RegisterForNavigation<CheckInMenu, MenuViewModel>();
            containerRegistry.RegisterForNavigation<CheckInPage>();
            containerRegistry.RegisterForNavigation<RoomInfoUserControl>();
            containerRegistry.RegisterForNavigation<SendOtherCardUserControl>();
            containerRegistry.RegisterForNavigation<CardInfoUserControl>();

            containerRegistry.RegisterForNavigation<Test1>();

        }
    }
}
